import { ConfigProvider, App as AntdApp } from 'antd'
import { Suspense } from 'react'
import Router from '@/router'

function App() {
  return (
    <ConfigProvider componentSize='large'>
      <Suspense fallback={'Loading...'}>
        <AntdApp>
          <Router />
        </AntdApp>
      </Suspense>
    </ConfigProvider>
  )
}

export default App
